package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xking
 * @since 2018-12-28
 */
@TableName("op_user_class")
public class OpUserClass extends Model<OpUserClass> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户订阅课程表
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("user_id")
	private String userId;
	@TableField("class_id")
	private String classId;
	@TableField("class_comment")
	private String classComment;
    /**
     * 1,授课2结课3退课
     */
	@TableField("class_state")
	private String classState;
	/**
	 * 机构Id
	 */
	@TableField("info_id")
	private String infoId;
    /**
     * 1,意向2报名中3报名成功
     */
	@TableField("apply_state")
	private String applyState;
    /**
     * 报名联系电话
     */
	@TableField("phone_number")
	private String phoneNumber;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getClassComment() {
		return classComment;
	}

	public void setClassComment(String classComment) {
		this.classComment = classComment;
	}

	public String getClassState() {
		return classState;
	}

	public void setClassState(String classState) {
		this.classState = classState;
	}

	public String getInfoId() {
		return infoId;
	}

	public void setInfoId(String infoId) {
		this.infoId = infoId;
	}

	public String getApplyState() {
		return applyState;
	}

	public void setApplyState(String applyState) {
		this.applyState = applyState;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
